"""
Author : sunshicheng
DateTime : 2020/9/23.2:22 下午
FileName : passport.py
Desc: passport的grpc接口总结
"""

"""
#grpcurl --plaintext -d '{"iso":"CN","phone":"18513302456"}' 112.124.46.38:9114 user.User/FetchUserIDByPhone

#测试环境 根据userid获取用户详情
grpcurl -plaintext -d '{"userID":534257838}' 112.124.46.38:9114 user.User/GetUserBaseInfo
grpcurl -plaintext -d '{"userID":534239945}' test-center-baseuser.qschou.com:39114 user.User/GetUserBaseInfo
534257838
#获取身份证号信息
grpcurl --plaintext -d '{"UserID":"534257838", "NeedNotCheck":false}' 112.124.46.38:9127 useridcard.UserIDCard/GetUserIDCardByUserID
#预生产环境 根据userid获取用户详情
grpcurl --plaintext -d '{"userID":130427742}' 121.196.224.170:9114 user.User/GetUserBaseInfo
347693401
grpcurl --plaintext -d '{"userID":310802939}' 101.37.178.245:39114 user.User/GetUserBaseInfo

#预生产环境 根据qscUnionid获取用户详情
#grpcurl -plaintext -d '{"qscUnionid":277838681}' 121.196.224.170:9114 user.User/FetchUserInfoByQscUnionidBackground

grpcurl --plaintext -d '{"iso":"CN","phone":"13983276556"}' 121.196.224.170:9114 user.User/FetchUserIDByPhone

#预生产环境 批量调用获取用户详情
grpcurl --plaintext -d '{"uuidList":["c9217462-e715-4772-b35a-3c7e407f9edb"]}' 101.37.178.245:39114 user.User/BatchFetchUserBaseInfoByUUID


#测试环境  根据call_record中的三个参数信息查找该详情
grpcurl -plaintext -d '{"businessId":2,"CreatedAt":"2020-06-29 20:05:29","QSCId":"534239945"}' 112.124.46.38:20001 callcenter.CallCenter/GetRecordByQSCId

#测试环境 批量发送信息
grpcurl -plaintext -d '{"projectOutKey":"","templateId":,"customerInfo":[1,13009510031,{"re_location_url":"XXXXX"}]}' 112.124.46.38:20001 notify.Notify.PushMessageBatch

查询管家
grpcui -plaintext 112.124.46.38:20013 
GetStaffByQscId

查询通话记录

grpcui -plaintext 112.124.46.38:20001
GetrecordsList

"""
